import request from '@/utils/request'


//供应商排名
export function supplierRank() {
    return request({
        url: '/home/supplierRank',
        method: 'get'
    })
}

//经销商排名
export function carrierRank() {
    return request({
        url: '/home/carrierRank',
        method: 'get'
    })
}

//产品系列
export function productSeries() {
    return request({
        url: '/home/productSeries',
        method: 'get'
    })
}

//收藏产品
export function collectProduct() {
    return request({
        url: '/home/collectProduct',
        method: 'get'
    })
}


//热销产品
export function hotSellProduct() {
    return request({
        url: '/home/hotSellProduct',
        method: 'get'
    })
}


//销售趋势
export function salesTrend() {
    return request({
        url: '/home/salesTrend',
        method: 'get'
    })
}

//待办事项
export function todoSchedule() {
    return request({
        url: '/home/todoSchedule',
        method: 'get'
    })
}

//寄样超时
export function sendTimeout() {
    return request({
        url: '/home/sendTimeout',
        method: 'get'
    })
}

export function certExpireRemind() {
    return request({
        url: '/home/certExpireRemind',
        method: 'get'
    })
}

//今日订单
export function topOrder(query) {
    return request({
        url: '/home/topOrder',
        method: 'get',
        params: query
    })
}